$(function() {
	var thisLoginUserArr = new Array();
	var thisLoginUserArr = localStorage.getItem('crossPageUser').split(',');
	var loginFlag = false; 
	$('.sui-btn').click(function() {
		if ($('input:eq(1)').val() == thisLoginUserArr[1] && ($('input:eq(0)').val() ==
				thisLoginUserArr[0] || $(
					'input:eq(0)').val() == thisLoginUserArr[2])) {
			window.location.href = "home.html";
		} else {
			alert('请输入正确的用户名或密码');
		};
		thisloginFlag = true; 
		localStorage.setItem('crossPageFlag', thisloginFlag);
	})
})
